<?php
	class DataProvider{
		public static function executeQuery($sql){
			$connection = mysql_connect("localhost", "root", "") or
				die("Couldn't connect to database!");
				
			mysql_select_db("ADSExpert", $connection);
			mysql_query("set names 'utf8'");
			
			$result = mysql_query($sql, $connection);
			mysql_close($connection);
			return $result;
		}
	}
?>